import 'package:json_annotation/json_annotation.dart';
import "model/user.dart";
part 'baseLogin.g.dart';

@JsonSerializable()
class BaseLogin {
    BaseLogin();

    String agentNo;
    String version;
    String charset;
    String timestamp;
    String sign;
    num code;
    String message;
    bool success;
    User bizContent;
    
    factory BaseLogin.fromJson(Map<String,dynamic> json) => _$BaseLoginFromJson(json);
    Map<String, dynamic> toJson() => _$BaseLoginToJson(this);
}
